Skip to content

Latest commit

 

History

History

Basics 3

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Basics 3

Author: Cujbă Mihai


Description

Find the flag's location in the source code.

Requirements

  • Source code
  • Browsing web pages

Solve

In the source code, you can see the location of the image displayed on the screen: files/images/kali-prompt.jpg.

What if we check the subdirectories? Stepping down 2 directories will reveal a nice directory listing in /files.

We can just retrieve the flag from there: ./files/flags/flag.php


Flag: CSCTF{Listing_ON_Index_OFF}